home *** CD-ROM | disk | FTP | other *** search
- Public Class Form2
- Inherits System.Windows.Forms.Form
- Public FileName As String
- Public form As Form1
-
- #Region " Windows Form Designer generated code "
-
- Public Sub New()
- MyBase.New()
-
- 'This call is required by the Windows Form Designer.
- InitializeComponent()
-
- 'Add any initialization after the InitializeComponent() call
-
- End Sub
-
- 'Form overrides dispose to clean up the component list.
- Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
- If disposing Then
- If Not (components Is Nothing) Then
- components.Dispose()
- End If
- End If
- MyBase.Dispose(disposing)
- End Sub
-
- 'Required by the Windows Form Designer
- Private components As System.ComponentModel.IContainer
-
- 'NOTE: The following procedure is required by the Windows Form Designer
- 'It can be modified using the Windows Form Designer.
- 'Do not modify it using the code editor.
- Friend WithEvents Button1 As System.Windows.Forms.Button
- Friend WithEvents Label1 As System.Windows.Forms.Label
- Friend WithEvents pb1 As System.Windows.Forms.ProgressBar
- <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
- Me.pb1 = New System.Windows.Forms.ProgressBar()
- Me.Button1 = New System.Windows.Forms.Button()
- Me.Label1 = New System.Windows.Forms.Label()
- Me.SuspendLayout()
- '
- 'pb1
- '
- Me.pb1.Location = New System.Drawing.Point(5, 38)
- Me.pb1.Name = "pb1"
- Me.pb1.Size = New System.Drawing.Size(551, 10)
- Me.pb1.TabIndex = 0
- '
- 'Button1
- '
- Me.Button1.Location = New System.Drawing.Point(469, 7)
- Me.Button1.Name = "Button1"
- Me.Button1.Size = New System.Drawing.Size(88, 24)
- Me.Button1.TabIndex = 2
- Me.Button1.Text = "Cancel"
- '
- 'Label1
- '
- Me.Label1.Location = New System.Drawing.Point(6, 8)
- Me.Label1.Name = "Label1"
- Me.Label1.Size = New System.Drawing.Size(450, 16)
- Me.Label1.TabIndex = 3
- '
- 'Form2
- '
- Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
- Me.ClientSize = New System.Drawing.Size(563, 54)
- Me.ControlBox = False
- Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.Label1, Me.Button1, Me.pb1})
- Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
- Me.MaximizeBox = False
- Me.MinimizeBox = False
- Me.Name = "Form2"
- Me.ShowInTaskbar = False
- Me.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen
- Me.Text = "Rip/Converting Progress"
- Me.TopMost = True
- Me.ResumeLayout(False)
-
- End Sub
-
- #End Region
-
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- form.StopRip = True
- End Sub
- Public Sub DrawTextMy(ByVal text As String)
- If (text.Length() < 1) Then text = FileName
- 'text = MinimizeName(text,Canvas,pb1->Width)
- Label1.Text = text
- Label1.Refresh()
- End Sub
-
-
- End Class
-